package 简单工厂模式;

public class Client {
    public static void main(String[] args) throws Exception {
        CoffeeFactory coffeeFactory=new CoffeeFactory();
        coffeeFactory.createCoffe(Kabuqinuo.class).showName();
        coffeeFactory.createCoffe(LatterCoffe.class).showName();
    }
}
